gtk4.git
27 years agofile _ruleh.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:53:04 +0000 (18:53 +0000)]
file _ruleh.png was initially added on branch themes-2.

27 years agofile _prog_vgrad.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:53:03 +0000 (18:53 +0000)]
file _prog_vgrad.png was initially added on branch themes-2.

27 years agofile _option2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:53:02 +0000 (18:53 +0000)]
file _option2.png was initially added on branch themes-2.

27 years agofile _option1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:53:01 +0000 (18:53 +0000)]
file _option1.png was initially added on branch themes-2.

27 years agofile _focus.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:53:00 +0000 (18:53 +0000)]
file _focus.png was initially added on branch themes-2.

27 years agofile _check2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:59 +0000 (18:52 +0000)]
file _check2.png was initially added on branch themes-2.

27 years agofile _check1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:58 +0000 (18:52 +0000)]
file _check1.png was initially added on branch themes-2.

27 years agofile _box_out_dgrad6.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:57 +0000 (18:52 +0000)]
file _box_out_dgrad6.png was initially added on branch themes-2.

27 years agofile _box_out_dgrad5.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:56 +0000 (18:52 +0000)]
file _box_out_dgrad5.png was initially added on branch themes-2.

27 years agofile _box_out_dgrad4.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:55 +0000 (18:52 +0000)]
file _box_out_dgrad4.png was initially added on branch themes-2.

27 years agofile _box_out_dgrad3.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:54 +0000 (18:52 +0000)]
file _box_out_dgrad3.png was initially added on branch themes-2.

27 years agofile _box_out_dgrad2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:53 +0000 (18:52 +0000)]
file _box_out_dgrad2.png was initially added on branch themes-2.

27 years agofile _box_out_dgrad1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:52 +0000 (18:52 +0000)]
file _box_out_dgrad1.png was initially added on branch themes-2.

27 years agofile _arrow_u3.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:51 +0000 (18:52 +0000)]
file _arrow_u3.png was initially added on branch themes-2.

27 years agofile _arrow_u2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:50 +0000 (18:52 +0000)]
file _arrow_u2.png was initially added on branch themes-2.

27 years agofile _arrow_u1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:49 +0000 (18:52 +0000)]
file _arrow_u1.png was initially added on branch themes-2.

27 years agofile _arrow_r3.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:48 +0000 (18:52 +0000)]
file _arrow_r3.png was initially added on branch themes-2.

27 years agofile _arrow_r2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:47 +0000 (18:52 +0000)]
file _arrow_r2.png was initially added on branch themes-2.

27 years agofile _arrow_r1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:46 +0000 (18:52 +0000)]
file _arrow_r1.png was initially added on branch themes-2.

27 years agofile _arrow_l3.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:45 +0000 (18:52 +0000)]
file _arrow_l3.png was initially added on branch themes-2.

27 years agofile _arrow_l2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:44 +0000 (18:52 +0000)]
file _arrow_l2.png was initially added on branch themes-2.

27 years agofile _arrow_l1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:43 +0000 (18:52 +0000)]
file _arrow_l1.png was initially added on branch themes-2.

27 years agofile _arrow_d3.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:42 +0000 (18:52 +0000)]
file _arrow_d3.png was initially added on branch themes-2.

27 years agofile _arrow_d2.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:41 +0000 (18:52 +0000)]
file _arrow_d2.png was initially added on branch themes-2.

27 years agofile _arrow_d1.png was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:40 +0000 (18:52 +0000)]
file _arrow_d1.png was initially added on branch themes-2.

27 years agofile win95_theme_main.c was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:38 +0000 (18:52 +0000)]
file win95_theme_main.c was initially added on branch themes-2.

27 years agofile win95_theme_draw.c was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:37 +0000 (18:52 +0000)]
file win95_theme_draw.c was initially added on branch themes-2.

27 years agofile win95_theme.h was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:36 +0000 (18:52 +0000)]
file win95_theme.h was initially added on branch themes-2.

27 years agofile motif_theme_main.c was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:32 +0000 (18:52 +0000)]
file motif_theme_main.c was initially added on branch themes-2.

27 years agofile motif_theme_draw.c was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:31 +0000 (18:52 +0000)]
file motif_theme_draw.c was initially added on branch themes-2.

27 years agofile motif_theme.h was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:30 +0000 (18:52 +0000)]
file motif_theme.h was initially added on branch themes-2.

27 years agofile configure.in was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:29 +0000 (18:52 +0000)]
file configure.in was initially added on branch themes-2.

27 years agofile autogen.sh was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:28 +0000 (18:52 +0000)]
file autogen.sh was initially added on branch themes-2.

27 years agofile Makefile.in was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:27 +0000 (18:52 +0000)]
file Makefile.in was initially added on branch themes-2.

27 years agofile Changelog was initially added on branch themes-2.
Carsten Haitzler [Thu, 30 Jul 1998 18:52:26 +0000 (18:52 +0000)]
file Changelog was initially added on branch themes-2.

27 years agoremoved a few unneeded lines
Lars Hamann [Thu, 30 Jul 1998 10:52:35 +0000 (10:52 +0000)]
removed a few unneeded lines

* gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines

27 years agocolumn resize now works with horizontal autoscrolling, GtkCTree's 'reorder
Lars Hamann [Wed, 29 Jul 1998 21:46:39 +0000 (21:46 +0000)]
column resize now works with horizontal autoscrolling, GtkCTree's 'reorder

* gtk/gtkclist.c (gtk_clist_motion): column resize now works with
  horizontal autoscrolling, GtkCTree's 'reorder ability' now works
  with horizontal and vertical autoscrolling.

27 years agonew directory new file, initial gtk_button man page
CDT 1998 Shawn T. Amundson [Wed, 29 Jul 1998 01:33:51 +0000 (01:33 +0000)]
new directory new file, initial gtk_button man page

Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * gtk/docs/man: new directory
        * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page

27 years agosmall fix for border drawing bug
Lars Hamann [Tue, 28 Jul 1998 21:43:04 +0000 (21:43 +0000)]
small fix for border drawing bug

* gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
  bug

27 years agofile th_main.c was initially added on branch themes-2.
Carsten Haitzler [Tue, 28 Jul 1998 20:39:26 +0000 (20:39 +0000)]
file th_main.c was initially added on branch themes-2.

27 years agofile th_draw.c was initially added on branch themes-2.
Carsten Haitzler [Tue, 28 Jul 1998 20:39:25 +0000 (20:39 +0000)]
file th_draw.c was initially added on branch themes-2.

27 years agofile th.h was initially added on branch themes-2.
Carsten Haitzler [Tue, 28 Jul 1998 20:39:24 +0000 (20:39 +0000)]
file th.h was initially added on branch themes-2.

27 years agofile COMPILE was initially added on branch themes-2.
Carsten Haitzler [Tue, 28 Jul 1998 20:39:23 +0000 (20:39 +0000)]
file COMPILE was initially added on branch themes-2.

27 years agonew format for GDK documentation. Eventually plan to remove gdk.texi, but
CDT 1998 Shawn T. Amundson [Tue, 28 Jul 1998 05:19:38 +0000 (05:19 +0000)]
new format for GDK documentation. Eventually plan to remove gdk.texi, but

Tue Jul 28 00:15:28 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * docs/gdk.sgml: new format for GDK documentation.  Eventually
  plan to remove gdk.texi, but not quite yet.  Just getting
  started.

27 years agoGtkTree section from David Huggins-Daines <bn711@freenet.carleton.ca>, add
BST 1998 Tony Gale [Mon, 27 Jul 1998 08:24:38 +0000 (08:24 +0000)]
GtkTree section from David Huggins-Daines <bn711@freenet.carleton.ca>, add

Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml: GtkTree section from
          David Huggins-Daines <bn711@freenet.carleton.ca>,
          add a GtkText widget example
        * examples/text/* example/tree/* : new examples for the
          GtkTree and GtkText widgets
        * docs/gtk_tut.sgml: added an appendix to hold complete code                          examples that aren't in a full form elsewhere in the
          tutorial (e.g. scribble)

27 years agoGtkTree section from David Huggins-Daines <bn711@freenet.carleton.ca>, add
BST 1998 Tony Gale [Mon, 27 Jul 1998 08:21:40 +0000 (08:21 +0000)]
GtkTree section from David Huggins-Daines <bn711@freenet.carleton.ca>, add

Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml: GtkTree section from
          David Huggins-Daines <bn711@freenet.carleton.ca>,
          add a GtkText widget example
        * examples/text/* example/tree/* : new examples for the
          GtkTree and GtkText widgets

27 years agoReleased GTK+ 1.1.0
CDT 1998 Shawn T. Amundson [Mon, 27 Jul 1998 06:59:50 +0000 (06:59 +0000)]
Released GTK+ 1.1.0

Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.0

27 years agofixed EXTRA_DIST sections
Tim Janik [Mon, 27 Jul 1998 02:51:48 +0000 (02:51 +0000)]
fixed EXTRA_DIST sections

27 years agorevamped the definitions for 1-1-0, so that all the new API stuff is
Tim Janik [Mon, 27 Jul 1998 02:24:39 +0000 (02:24 +0000)]
revamped the definitions for 1-1-0, so that all the new API stuff is

Mon Jul 27 04:18:26 1998  Tim Janik  <timj@gtk.org>

        * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
        the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.

27 years agofixup, so that enum values are looked up.
Tim Janik [Mon, 27 Jul 1998 01:50:16 +0000 (01:50 +0000)]
fixup, so that enum values are looked up.

Mon Jul 27 03:11:20 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
        values are looked up.

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
        gtk_type_enums_find_value to lookup enum values.

        * gtk/gtkctree.h:
        * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
        GtkCTreeExpansionType. fixed signal creations to pass the enum
        types not just the base type GTK_TYPE_ENUM.

        * gtk/gtkclist.h:
        * gtk/gtkclist.c: fixed signal creations to pass the real enum
        types not just the base type GTK_TYPE_ENUM.

27 years agolittle fix to avoid warnings
Lars Hamann [Sun, 26 Jul 1998 15:54:41 +0000 (15:54 +0000)]
little fix to avoid warnings

* gtk/gtkclist.c gtk/gtkctree.c : little fix to avoid warnings

27 years ago---
Stefan Jeske [Sun, 26 Jul 1998 14:46:52 +0000 (14:46 +0000)]
---

27 years agoBegan cleanup, e.g. use gtk_widget_show_all instead of many
Stefan Jeske [Sun, 26 Jul 1998 14:45:40 +0000 (14:45 +0000)]
Began cleanup, e.g. use gtk_widget_show_all instead of many
gtk_widget_show's. Completely rewrote the button box sample
(only one window now). Removed "miscellaneous" button.

27 years agoFixed wrong allocation for GTK_BUTTONBOX_END.
Stefan Jeske [Sun, 26 Jul 1998 14:44:36 +0000 (14:44 +0000)]
Fixed wrong allocation for GTK_BUTTONBOX_END.
(allocation->x  =>  allocation->y)

27 years agofix for pointer grab
Lars Hamann [Sun, 26 Jul 1998 13:12:07 +0000 (13:12 +0000)]
fix for pointer grab

* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
  (abort_column_resize) (gtk_clist_key_press): fix for pointer grab

* gtk/gtkctree.c (real_tree_select): added check to avoid double
  selected rows
  (gtk_ctree_button_press)
  (gtk_ctree_button_release): fix for pointer grab

27 years ago*** empty log message ***
Damon Chaplin [Sat, 25 Jul 1998 12:17:45 +0000 (12:17 +0000)]
*** empty log message ***

27 years agoFixed 2 bugs in font selection - initialising array sizes and checking that
Damon Chaplin [Sat, 25 Jul 1998 12:09:38 +0000 (12:09 +0000)]
Fixed 2 bugs in font selection - initialising array sizes and checking that
a bitmapped font can be scaled.

27 years agominor adjustments.
Tim Janik [Sat, 25 Jul 1998 04:07:04 +0000 (04:07 +0000)]
minor adjustments.

27 years agotest for node != NULL (gtk_ctree_is_visible) (gtk_ctree_realize)
Lars Hamann [Sat, 25 Jul 1998 01:10:58 +0000 (01:10 +0000)]
test for node != NULL (gtk_ctree_is_visible) (gtk_ctree_realize)

* gtk/gtkctree.c (gtk_ctree_sort_recursive)
  (gtk_ctree_sort_recursive): test for node != NULL
  (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
  (gtk_ctree_last) : added sanity checks
* gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"

27 years agomini code cleanup
Lars Hamann [Fri, 24 Jul 1998 16:22:53 +0000 (16:22 +0000)]
mini code cleanup

* gtk/gtkclist.c (toggle_focus_row): mini code cleanup

27 years agoFri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
Paolo Molaro [Fri, 24 Jul 1998 08:53:59 +0000 (08:53 +0000)]
Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>

* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.

27 years agointroduce testbindings on C-1 for buttons, to check out binding
Tim Janik [Wed, 22 Jul 1998 22:29:10 +0000 (22:29 +0000)]
introduce testbindings on C-1 for buttons, to check out binding

Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>

        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
        to check out binding priorities. someone should really write
        gtkrc-mode for emacs.

        * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
        * gtk/testgtk.c (main): and move it here ;). this test says something
        on release of C-9. (this works only if the mouse pointer is on a
        spinbutton and there is no focus widget).

        * gtk/gtkrc.h:
        * gtk/gtkrc.c:
        export gtk_rc_parse_color, gtk_rc_parse_state and a new function
        gtk_rc_parse_priority to parse path priority types.
        export rc tokens.
        feature binding parsing.

Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkbindings.h:
        * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
        feature binding parsing in rc files.
        * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
        * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
        order the bindings with lowest priority first.

27 years agoactually builds and runs properly on big endian machines now, because we
Manish Singh [Wed, 22 Jul 1998 22:22:05 +0000 (22:22 +0000)]
actually builds and runs properly on big endian machines now, because we

* gdk/gdkrgb.c: actually builds and runs properly on big endian machines
now, because we #include config.h. Also fixed up a compile error in the
WORDS_BIGENDIAN case in gdk_rgb_convert_565_gray. I made the fix by looking
at patterns in the other code; Raph can you verify this?

* gdk/gdkthreads.c: #include <unistd.h> to quell compiler warnings

-Yosh

27 years agofew fixes for gtk_signal_emits
Lars Hamann [Wed, 22 Jul 1998 21:13:48 +0000 (21:13 +0000)]
few fixes for gtk_signal_emits

* gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse)
  (tree_toggle_expansion) (real_select/unselect_row)
  (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits

27 years agomake auto-files update
Tim Janik [Wed, 22 Jul 1998 19:23:51 +0000 (19:23 +0000)]
make auto-files update

27 years agoWe free things from the text property MemChunk, so it needs to be
Owen Taylor [Tue, 21 Jul 1998 19:31:38 +0000 (19:31 +0000)]
We free things from the text property MemChunk, so it needs to be

Wed Jul 15 17:44:47 1998  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktext.c (new_text_property): We free things from
the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.

* Fix up line start cache when splitting a property
during an insert.

27 years agogenmarshal.pl: Handle complex types, and functions with a return value but
Elliot Lee [Tue, 21 Jul 1998 18:49:53 +0000 (18:49 +0000)]
genmarshal.pl: Handle complex types, and functions with a return value but

genmarshal.pl: Handle complex types, and functions with a return value but
       no parameters.
genmarshal.pl gtkmarshal.* gtkwidget.c: Remove support for GDK_EVENT and
        STYLE parameter types.

27 years agoMarshallers for C_CALLBACK parameters now pass "func, func_data," instead
Elliot Lee [Tue, 21 Jul 1998 16:06:00 +0000 (16:06 +0000)]
Marshallers for C_CALLBACK parameters now pass "func, func_data," instead

Marshallers for C_CALLBACK parameters now pass "func, func_data," instead
of "func,".

27 years agoMore minor config fixes.
Raph Levien [Tue, 21 Jul 1998 05:53:44 +0000 (05:53 +0000)]
More minor config fixes.

27 years agoFixed minor config bug.
Raph Levien [Tue, 21 Jul 1998 05:20:29 +0000 (05:20 +0000)]
Fixed minor config bug.

27 years agomissed this
Elliot Lee [Tue, 21 Jul 1998 05:01:37 +0000 (05:01 +0000)]
missed this

27 years agoFixed wrong size of activity indicator. It is settable now as a fraction
Stefan Jeske [Tue, 21 Jul 1998 04:49:01 +0000 (04:49 +0000)]
Fixed wrong size of activity indicator. It is settable now as a fraction

Tue Jul 21 06:32:43 1998  Stefan Jeske  <stefan@gtk.org>

* gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
  activity indicator. It is settable now as a fraction of the
total width/height using gtk_progress_bar_set_activity_blocks.
Renamed gtk_progress_bar_set_number_of_blocks to
gtk_progress_bar_set_discrete_blocks.

27 years agoUse common marshalling routines instead of having widget-private ones. It
Elliot Lee [Tue, 21 Jul 1998 04:13:42 +0000 (04:13 +0000)]
Use common marshalling routines instead of having widget-private ones. It

Use common marshalling routines instead of having widget-private ones.
It compiles & links.

testgtk segfaults. I'm convinced that is Somebody Else's Problem
(marshalling routine gets func_data=0x0 and blithely passes it on) but the
fact that it happens now & not before makes me wrong :-)

27 years agonew functions, recursive process tree to specified depth
Lars Hamann [Mon, 20 Jul 1998 19:45:45 +0000 (19:45 +0000)]
new functions, recursive process tree to specified depth

* gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
  (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
  tree to specified depth
  (gtk_ctree_expand_to_depth): expand tree to specified depth
  (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth

27 years agofix for vertical scrolling in case of GTK_CLIST_ADD_MOD changed pixmap
Lars Hamann [Sun, 19 Jul 1998 22:42:21 +0000 (22:42 +0000)]
fix for vertical scrolling in case of GTK_CLIST_ADD_MOD changed pixmap

* gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
  of GTK_CLIST_ADD_MOD
* gtk/testgtk.c (add1000_clist): changed pixmap

27 years agoexport gtk_binary_age and gtk_interface_age.
Tim Janik [Sun, 19 Jul 1998 19:09:27 +0000 (19:09 +0000)]
export gtk_binary_age and gtk_interface_age.

Sat Jul 18 22:59:04 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.h:
        * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.

        * gtk/gtktypeutils.h:
        * gtk/gtkitemfactory.h: remove "void" from prototypes again.

Sat Jul 18 00:54:01 1998  Lars Hamann  <lars@gtk.org>

        * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
        CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
        (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
        CHILD_ARG_POSITION
        (gtk_notebook_reorder_child): new funktion to change position of a
        notebook page
        (gtk_notebook_draw_arrow): draw left/right arrow with
        GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.

        * gtk/gtkstyle.c (gtk_default_draw_arrow):
        added GTK_SHADOW_ETCHED_IN/OUT

27 years agoIntroduced generic GtkProgress widget. Derived GtkProgressBar from
Stefan Jeske [Sun, 19 Jul 1998 10:35:39 +0000 (10:35 +0000)]
Introduced generic GtkProgress widget. Derived GtkProgressBar from

Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>

* gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
  gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
Introduced generic GtkProgress widget. Derived GtkProgressBar from
GtkProgress. Made GtkProgressBar much more flexible (see testgtk).

27 years agoexplicitly specify void in prototype
Manish Singh [Sat, 18 Jul 1998 06:50:57 +0000 (06:50 +0000)]
explicitly specify void in prototype

-Yosh

27 years agoChangelog fix
Lars Hamann [Fri, 17 Jul 1998 16:07:08 +0000 (16:07 +0000)]
Changelog fix

27 years agofix to avoid flicker at begin/end of list
Lars Hamann [Fri, 17 Jul 1998 16:05:42 +0000 (16:05 +0000)]
fix to avoid flicker at begin/end of list

* gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
  of list

27 years agoIf xid_ht hasn't been created yet, don't do the lookup.
Owen Taylor [Fri, 17 Jul 1998 14:48:35 +0000 (14:48 +0000)]
If xid_ht hasn't been created yet, don't do the lookup.

Thu Jul 16 20:11:36 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
hasn't been created yet, don't do the lookup.

27 years agosropped the approach of copying all signal specific data into a
Tim Janik [Fri, 17 Jul 1998 06:10:02 +0000 (06:10 +0000)]
sropped the approach of copying all signal specific data into a

Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
        sropped the approach of copying all signal specific data into a
        GtkHandlerInfo structure. we rather keep the signal data on the stack
        in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
        avoids multiple lookups of the signal pointer and works savely together
        with destroy notifiers of handlers.

        * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
        someone destroys the entry on the ::activate signal.

27 years agocare for the posssibility that someone destroys the entry on the
Tim Janik [Fri, 17 Jul 1998 03:56:13 +0000 (03:56 +0000)]
care for the posssibility that someone destroys the entry on the

Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
        someone destroys the entry on the ::activate signal.

27 years agouse misc->xpad for x calculation instead of ypad (typo). (gtk_arrow_set):
Tim Janik [Fri, 17 Jul 1998 00:03:35 +0000 (00:03 +0000)]
use misc->xpad for x calculation instead of ypad (typo). (gtk_arrow_set):

Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
        instead of ypad (typo).
        (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
        border around the allocation).
        (gtk_arrow_init): the static requisition needs to be setup in this
        function rather than gtk_widget_new(), so arrow creation works without
        the gtk_arrow_new() constructing.
        (gtk_arrow_expose): return TRUE, since we actually handled the expose.

        * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
        implementation for GtkWidget::size_request, so size requisition for
        simple statically sized widgets like GtkArrow works.

27 years agoFix slight screwup
Manish Singh [Thu, 16 Jul 1998 23:05:22 +0000 (23:05 +0000)]
Fix slight screwup

-Yosh

27 years agominor changes to gtk-config: --cflags doesn't prepend -I@libdir@/glib/include
Manish Singh [Thu, 16 Jul 1998 21:24:52 +0000 (21:24 +0000)]
minor changes to gtk-config: --cflags doesn't prepend -I@libdir@/glib/include
anymore, since glib-config handles it; --libs strips out redundant -L<path>'s
properly (there was code in there to do it before, but it didn't work)

-Yosh

27 years agosigndness corrections all ove the place. implementation of object
Tim Janik [Thu, 16 Jul 1998 20:23:12 +0000 (20:23 +0000)]
signdness corrections all ove the place. implementation of object

Thu Jul 16 18:24:41 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtknotebook.h:
        * gtk/gtknotebook.c: signdness corrections all ove the place.
        implementation of object arguments: GtkNotebook::enable_popup,
        GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
        GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
        begun implementation of child args, we have GtkNotebook::tab_label, but
        GtkNotebook::menu_label and GtkNotebook::position still lack the
        implementation.
        (gtk_notebook_remove_page):
        (gtk_notebook_current_page): allow negative indices (-1) as alias for
        the last page.

        * gtk/gtkentry.h:
        * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
        arguments GtkEntry::max_length and GtkEntry::visibility.
        (gtk_entry_adjust_scroll): queue a redraw.

        * gtk/gtkeditable.h:
        * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
        object arguments GtkEditable::text_position and GtkEditable::editable.
        new (action) signal GtkEditable::set_editable.
        provide a default handler for GtkEditable::changed that queues a redraw.

        * gtk/gtktext.h:
        * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
        set_editable.

27 years agoMake gdk_window_foreign_new fail gracefully
Elliot Lee [Thu, 16 Jul 1998 19:41:12 +0000 (19:41 +0000)]
Make gdk_window_foreign_new fail gracefully

27 years agofix for sigsegv in case of drag_target == NULL fix for
Lars Hamann [Thu, 16 Jul 1998 13:05:02 +0000 (13:05 +0000)]
fix for sigsegv in case of drag_target == NULL fix for

* gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
  case of drag_target == NULL
* gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
  Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
* gtk/gtkfilesel.c (gtk_file_selection_file_button,
  gtk_dir_selection_file_button): fix due to changes in clist's
  select_row signal.

27 years agohandle negative values similar to gtk_widget_set_uposition(). that is:
Tim Janik [Thu, 16 Jul 1998 02:47:15 +0000 (02:47 +0000)]
handle negative values similar to gtk_widget_set_uposition(). that is:

Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
        similar to gtk_widget_set_uposition(). that is: -1=unspecified,
        -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
        to be gint16s rather than guint16s, since that's what the code expected
        (for a long time actually).

        * gtk/gtkviewport.c:
        added support for object arguments: GtkViewport::shadow_type,
        GtkViewport::vadjustment and GtkViewport::hadjustment.
        (gtk_viewport_add): chain gtk_bin_add.

        * gtk/gtkscrolledwindow.c:
        added support for object argument: GtkScrolledWindow::hscrollbar_policy,
        GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.

        * gtk/gtkadjustment.h:
        * gtk/gtkadjustment.c:
        * gtk/gtkctree.h:
        * gtk/gtkclist.h:
        * gtk/gtkctree.c:
        * gtk/gtkclist.c:
        * gtk/gtkscrolledwindow.h:
        * gtk/gtkscrolledwindow.c:
        * gtk/gtkviewport.h:
        * gtk/gtkviewport.c:
        GtkType and macro fixups.

27 years agoAdded focus handling, horizontal and vertical autoscrolling, extended
Lars Hamann [Wed, 15 Jul 1998 23:40:00 +0000 (23:40 +0000)]
Added focus handling, horizontal and vertical autoscrolling, extended

* gtk/gtkctree.h :
* gtk/gtkctree.c :
  Added focus handling, horizontal and vertical autoscrolling,
  extended Selection Mode, key bindings
  Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
  Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
  Removed gtk_ctree_clear.

* gtk/gtkclist.h :
* gtk/gtkclist.c :
  Added focus handling, horizontal and vertical autoscrolling,
  extended Selection Mode, key bindings

27 years agoBuild fixes for gdkrgb
Manish Singh [Wed, 15 Jul 1998 21:15:33 +0000 (21:15 +0000)]
Build fixes for gdkrgb

-Yosh

27 years agoIntegrating GdkRgb 0.0.3 into the Gtk+ source tree.
Raph Levien [Wed, 15 Jul 1998 20:25:52 +0000 (20:25 +0000)]
Integrating GdkRgb 0.0.3 into the Gtk+ source tree.

Integrating GdkRgb 0.0.3 into the Gtk+ source tree.

27 years agopass only the signal_id to this function. it needs to relookup the signal
Tim Janik [Wed, 15 Jul 1998 12:25:43 +0000 (12:25 +0000)]
pass only the signal_id to this function. it needs to relookup the signal

Wed Jul 15 14:20:10 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
        to this function. it needs to relookup the signal multiple times.
        this fixes spurious segfaults that could show up with signal intensive
        code, when classes are created during a pending emission (which is
        normal case).

27 years agodon't destroy a buttons child if it isn't a label.
Tim Janik [Tue, 14 Jul 1998 17:48:28 +0000 (17:48 +0000)]
don't destroy a buttons child if it isn't a label.

Tue Jul 14 19:12:12 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
        child if it isn't a label.

27 years agomacro and GtkType fixups.
Tim Janik [Tue, 14 Jul 1998 16:34:48 +0000 (16:34 +0000)]
macro and GtkType fixups.

Tue Jul 14 11:41:38 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkdialog.h:
        * gtk/gtkseparator.h:
        * gtk/gtkhseparator.h:
        * gtk/gtkvseparator.h: macro and GtkType fixups.

27 years agodisplay the current cursor name.
Tim Janik [Tue, 14 Jul 1998 07:40:15 +0000 (07:40 +0000)]
display the current cursor name.

Tue Jul 14 06:25:46 1998  Tim Janik  <timj@gtk.org>

        * gtk/testgtk.c (create_cursors): display the current cursor name.

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
        the fundamental type definition. the GtkArg union now only covers
        the required storage types for argument values. adapted the GTK_VALUE_*
        macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.

        * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
        code, fixed int/float collection. fixed a bug in the sanity checking
        code for GtkObjects.

        * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
        argument collection code.

        * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
        macros when distinguishing the return type.

27 years agocheck if old_parent_private is not NULL before trying to g_list_remove the
George Lebl [Mon, 13 Jul 1998 19:43:33 +0000 (19:43 +0000)]
check if old_parent_private is not NULL before trying to g_list_remove the

Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>

        * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
          is not NULL before trying to g_list_remove the child. A patch
          from Michael Lausch.

this finally fixes the swallows for the panel :)

27 years agofix float argument collection (always casted to doubles upon argument
Tim Janik [Sun, 12 Jul 1998 14:43:03 +0000 (14:43 +0000)]
fix float argument collection (always casted to doubles upon argument

Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
        collection (always casted to doubles upon argument passing).

27 years agocall the base classes' object_init_func for derived objects with the
Tim Janik [Sun, 12 Jul 1998 04:13:02 +0000 (04:13 +0000)]
call the base classes' object_init_func for derived objects with the

Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
        object_init_func for derived objects with the object's ->klass field
        still pointing to the corresponding base class, otherwise overridden
        class functions could get called with partly-initialized objects.
        (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).